/*
 * Copyright 2016 Crown Copyright
 *
 * Licensed under the Apache License, Version 2.0 (the "License");
 * you may not use this file except in compliance with the License.
 * You may obtain a copy of the License at
 *
 *     http://www.apache.org/licenses/LICENSE-2.0
 *
 * Unless required by applicable law or agreed to in writing, software
 * distributed under the License is distributed on an "AS IS" BASIS,
 * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
 * See the License for the specific language governing permissions and
 * limitations under the License.
 */

/** 
 * Styles for standard HTML elements
 */
html,body {
	width: 100%;
	height: 100%;
	overflow: hidden;
	background: white;
	color: black;
	direction: ltr;
	
	-webkit-user-select: none;
	-moz-user-select: none;
	-ms-user-select: none;
	user-select: none;	
}

html,body,div,span,table,tbody,tr,th,td,b,p,h1,h2,h3,h4 {
	margin: 0px;
	padding: 0px;
	border: none;
}

html,body,div,span,table,tbody,tr,th,td,table th,table td,b,p,h1,h2,h3,h4,select,input,textarea,button,form {
	font-family: Roboto, arial, tahoma, verdana;
	font-size: 13px;
	font-weight: 400;
	-moz-box-sizing: border-box;
	-ms-box-sizing: border-box;
	box-sizing: border-box;
	outline: none;
}

select,input,textarea {
  	-webkit-user-select: text;
  	-moz-user-select: text;
  	user-select: text;
}

table {
	border-collapse: separate;
	border-spacing: 0px;
}

textarea {
	display: block;
	margin: 0px;
	_margin-top: -1px;
	border: solid 1px #c5cde2;
	resize: none;
	height: 80px;
}

img {
	vertical-align: top;
}

h1 {
	font-size: 14pt;
	font-weight: 500;
	margin-bottom: 11px;
}

h2 {
	font-size: 11pt;
	font-weight: 500;
}

h3 {
	font-size: 11px;
	font-weight: 500;
}

b {
	font-weight: 500;
}

p {
	margin-bottom: 11px;
	-moz-user-focus: ignore;
	-moz-user-input: disabled;
	-moz-user-select: none;
	-webkit-user-focus: ignore;
	-webkit-user-input: disabled;
	-webkit-user-select: none;
	user-focus: ignore;
	user-input: disabled;
	user-select: none;
}

td {
	vertical-align: top;
	font-size: 1px;
}

/**
 * Styles for basic Stroom components
 */
.stroom-body {
	background-color: #d50101 !important;
	line-height: 14px;
	line-height: initial;
}

.stroom-background {
	width: 100%;
	height: 100%;
	background-attachment: scroll !important;
	background-position: 0 0 !important;
	background-repeat: repeat !important;
	opacity: 1 !important;
}

.app-panel {
	position: absolute;
	top: 0px;
	left: 0px;
	width: 100%;
	height: 100%;
}

.tubeEffect {
	position: absolute;
	top: 0px;
	left: 0px;
	width: 100%;
	height: 100%;
	opacity: 0.6;
	visibility: visible;
	
	box-shadow: inset 0 0 150px rgba(0,0,0,1), inset 0 0 150px rgba(0,0,0,1);
	
	/*box-shadow: inset 0 150px 150px rgba(0,0,0,0.4),inset 0 -150px 150px rgba(0,0,0,0.4),inset -150px 0 150px rgba(0,0,0,0.4),inset 150px 0 150px rgba(0,0,0,0.4) */
}

/* STYLES FOR THE LOADING BANNER */
#loading {
	position: absolute;
	top: 50%;
	left: 50%;
	height: 50px;
	font-size: 13px;
}

#loadingBox {
	position: relative;
	top: -26px;
	left: -50%;
	border: 1px solid #404e60;
	background: white;
	padding: 10px;
	margin: 0;
	width: 270px;
	min-height: 53px;
	text-align: center;
	z-index: 100;
	
	border-radius: 200px;
	box-shadow: 1px 1px 8px rgba(0,0,0,0.6), -1px -1px 8px rgba(0,0,0,0.6);
}

#loadingImage {
	float: left;
	margin-right: 8px;
}

#loadingTitle {
	font-weight: 500;
	padding-left: 42px;
	text-align: left;
}

#loadingText {
	padding-left: 42px;
	text-align: left;
}

.stroom-pipeline-stepping-button {
	position: absolute;
	right: 16px;
	bottom: 16px;
	z-index: 5;
}

.stroom-pipeline-stepping-button img {
	width: 40px;
	height: 40px;
}

.stroom-pipeline-stepping-button .face {
	background: #3385ff;
}

.stroom-pipeline-stepping-button .face:hover {
	background: #51a5ff;
}

/* TABLE FOR SHOWING CLASSIFICATION BANNERS */
#main {
	width: 100%;
	height: 100%;
}

/* THE CONTENT PANE */
#content {
	width: 100%;
	height: 100%;
	background-color: white;
}

/* STYLE FOR THE CLASSIFICATION BANNERS */
.classification {
	width: 100%;
	height: 15px;
	font-weight: 500;
	text-align: center;
	background-color: #888888;
	overflow: hidden;
}

/* THE MAIN APPLICATION PAGE LAYOUT */
.root {
	width: 100%;
	height: 100%;
}

.title {
	width: 100%;
	padding: 2px;
	/* background: #93c2f1 url(../images/hborder.png) repeat-x 0px -1463px; */
	background: black;
	overflow: hidden;
}

.page {
	width: 100%;
	height: 100%;
}

/* LAYOUT AND STYLES FOR THE LOGIN PAGE */
.loginPage {
	width: 100%;
	height: 100%;
	border-collapse: separate;
	border-spacing: 5px;
}

.about {
	height: 100%;
	overflow: auto;
}

.loginSeparator {
	background-color: #93c2f1;
	width: 3px;
	height: 100%;
}

.loginBox {
	height: 100%;
	overflow: auto;
}

.error {
	margin-top: 10px;
	color: red;
}

.newPasswords {
	font-size: 10pt;
	font-family: "courier new", courier;
	font-weight: 500;
}

/* COMMON PAGE */
.commonPage {
	width: 100%;
	height: 100%;
}

.topLinks {
	width: 100%;
}

.crumbContainer {
	width: 100%;
}

.crumbs {
	margin-bottom: 5px;
}

.titleContainer {
	height: 10px;
	marginLeft: 20px;
	marginTop: 5px;
}

.pageTitle {
	font-size: 14pt;
}

.imageWrapper {
	width: 50px;
	height: 30px;
	margin-left: 20px;
}

.logout {
	
}

.pageContentContainer {
	position: relative;
	width: 100%;
	height: 100%;
	overflow: hidden;
}

.pageContent {
	position: absolute;
	width: 100%;
	height: 100%;
	border: 3px solid #639CFF;
	background-color: #E7F7FF;
	overflow: auto;
	text-align: center;
}

.mainPage {
	width: 100%;
	height: 100%;
	background-color: #E7F7FF;
}

/* TOOLBAR */
.toolbar {
	width: 100%;
	padding: 2px 2px 2px 4px;
}

.toolbarButton {
	display: inline-block;
	_display: inline;
	cursor: pointer;
	padding: 3px;
	background-color: none;
	border: none;
	width: 20px;
	height: 20px;
}

.toolbarButton-hover { /*	
	padding: 2px;
	background-color: #c5cde2;
	border: 1px solid #2291D0;
*/
	
}

.toolbarButton-pressed { /*	
	padding: 2px;
	background-color: #2291D0;
	border: 1px solid black;
*/
	
}

/* DATA GRID */
.dataGrid-Layout {
	width: 100%;
	height: 100%;
	border: solid 1px #c5cde2;
	/*	background-color: white;*/
}

.dataGrid-Container {
	position: relative;
	width: 100%;
	height: 100%;
	overflow: hidden;
}

.headerWrapper {
	border-bottom: 1px solid #c5cde2 !important;
	/*	
	background: #93c2f1 url(../images/hborder.png) repeat-x 0px -1463px
		!important;
*/
	background: #dfeaf8 url(../images/header.png) repeat-x;
}

.dataWrapper {
	background: white;
}

.dataTable .selected {
	background: #bbdefb !important;
}

.dataTable td {
	cursor: pointer;
	overflow: hidden !important;
	padding-left: 2px !important;
	padding-right: 2px !important;
	vertical-align: middle;
}

.headerTable td {
	cursor: default;
	overflow: hidden !important;
	padding-left: 2px !important;
	padding-right: 2px !important;
	vertical-align: middle;
}

/* PAGING CONTROL */
.paging {
	width: 100%;
	padding: 2px;
	background: white;
}

/* ENHANCED TAB */
.stroom-TabBar {
	height: 20px;
}

.stroom-TabBar .gwt-TabBarFirst {
	width: 0px; /* first tab distance from the left */
	display: none;
}

.stroom-TabBar .gwt-TabBarRest {
	
}

.stroom-TabBar .gwt-TabBarRest-wrapper {
	border-bottom: 1px solid #2291D0;
}

.stroom-TabBar .gwt-TabBarItem {
	margin-left: 0px;
	padding: 2px 5px 2px 5px;
	cursor: pointer;
	cursor: hand;
	color: black;
	text-align: center;
	background: none;
	border-right: 1px solid #2291D0;
	border-bottom: 1px solid #2291D0;
}

.stroom-TabBar .gwt-TabBarItem-selected {
	cursor: default;
	/*	
	background: #93c2f1 url(../images/hborder.png) repeat-x 0px -1463px;
*/
	background: #dfeaf8 url(../images/header.png) repeat-x;
	border-right: 1px solid #2291D0;
	border-bottom: 1px solid #c5cde2;
}

.stroom-TabBar .gwt-TabBarItem-disabled {
	cursor: default;
	color: #999999;
}

.stroom-TabPanelWrapper {
	position: relative;
	width: 100%;
	height: 100%;
	border: 1px solid #2291D0;
}

.stroom-TabPanel {
	width: 100%;
	height: 100%;
	table-layout: fixed;
}

.stroom-TabPanelBottom {
	width: 100%;
	height: 100%;
	border-color: #c5cde2;
	border-style: solid;
	border-width: 2px;
	overflow: hidden;
}

.enhancedTab-Text {
	max-width: 150px;
	overflow: hidden;
	white-space: nowrap;
}

.tabListButton {
	position: absolute;
	width: 16px;
	height: 14px;
	top: 3px;
	cursor: pointer;
}

.maximiseContainer {
	position: absolute;
	top: 5px;
	right: 4px;
	cursor: pointer;
}

/* EDIT GRID */
.editGrid-Button {
	margin-left: 5px;
	margin-bottom: 5px;
}

/* SPLIT PANEL */
.splitPanel {
	width: 100%;
	height: 100%;
	table-layout: fixed;
}

/* INPUT CONTROLS */
.gwt-TextBox,.gwt-PasswordTextBox,.gwt-ListBox,.gwt-TextArea,.gwt-DateBox,.stroom-DropDownTree {
	width: 200px;
	margin: 0px;
	padding: 1px;
	padding-left: 4px;
	border: solid 1px #c5cde2;
	background-color: white;
	_background-color: white;
	outline: none !important;
}

.gwt-ListBox {
	padding: 0px;
}

.gwt-TextArea {
	resize: none;
	height: 80px;
}


/* .gwt-TextBox,.gwt-PasswordTextBox,.gwt-TextArea,.gwt-DateBox,.stroom-DropDownTree { */
/* 	padding: 1px; */
/* } */

.homeLink {
	cursor: pointer;
	width: 100px;
	height: 100px;
	float: left;
	padding: 10px;
	text-align: center;
}

.homeLinkImgWrapper {
	height: 55px;
}

.feedTreeButton {
	width: 50px;
	margin: 0;
	padding: 1px;
	text-decoration: none;
	cursor: pointer;
	background: url("../images/hborder.png") repeat-x 0px -27px;
	border: 1px outset #ccc;
}

.spEditor {
	border: 1px solid black;
}

.itemCheckList {
	background-color: white;
	_background-color: white;
	border: 1px solid #c5cde2;
}

.gwt-ValueSpinner .arrows {
	width: 1px;
	height: 1px;
}

.gwt-ValueSpinner .textBox {
	height: 16px;
}

.gwt-ValueSpinner td {
	padding: 0px !important;
}

.gwt-ValueSpinner .textBox {
	text-align: right;
	border: 1px solid #c5cde2;
}

.gwt-Tree * {
	vertical-align: middle;
}

.explorerWrapper {
	width: 100%;
	height: 100%;
}

.activityOuter {
    background-color: white;
    width: 100%;
    height: 100%;
    padding: 10px;
}

.activityContainer {
    background-color: white;
    border: lightblue solid 1px;
    border-radius: 5px;
    padding: 5px;
    width: 100%;
    height: 100%;
    overflow: auto;
}
